package com.yao.seckill.web.service;

import com.yao.seckill.core.SeckillResponse;
import org.springframework.amqp.rabbit.connection.CorrelationData;

public interface RabbitService {
    public SeckillResponse send(String msg);

    public void saveMsgToDb(CorrelationData correlationData, boolean ack,String cause);
}
